package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品其他信息对象 drug_other
 * 
 * @author drx
 * @date 2025-05-13
 */
@ApiModel("药品其他信息")
public class DrugOther extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
@ApiModelProperty("主键")
    private Long id;

    /** 药品id */
    @Excel(name = "药品id")
@ApiModelProperty("药品id")
    private Long drugId;

    /** 类型 01 资讯 02适应症 03治疗效果 04用法用量 05注意事项 06副作用 */
    @Excel(name = "类型 01 资讯 02适应症 03治疗效果 04用法用量 05注意事项 06副作用")
@ApiModelProperty("类型 01 资讯 02适应症 03治疗效果 04用法用量 05注意事项 06副作用")
    private String type;

    /** 标题 */
    @Excel(name = "标题")
@ApiModelProperty("标题")
    private String webpagetitle;

    /** 关键词 */
    @Excel(name = "关键词")
@ApiModelProperty("关键词")
    private String webpagekeywords;

    /** 描述 */
    @Excel(name = "描述")
@ApiModelProperty("描述")
    private String webpagedescription;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    private String content;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
@ApiModelProperty("创建人名称")
    private String createName;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
@ApiModelProperty("更新人名称")
    private String updateName;

    /** 是否删除（0否；1是） */
@ApiModelProperty("是否删除（0否；1是）")
    private String delFlag;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public String getWebpagetitle() {
        return webpagetitle;
    }

    public void setWebpagetitle(String webpagetitle) {
        this.webpagetitle = webpagetitle;
    }

    public String getWebpagekeywords() {
        return webpagekeywords;
    }

    public void setWebpagekeywords(String webpagekeywords) {
        this.webpagekeywords = webpagekeywords;
    }

    public String getWebpagedescription() {
        return webpagedescription;
    }

    public void setWebpagedescription(String webpagedescription) {
        this.webpagedescription = webpagedescription;
    }

    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drugId", getDrugId())
            .append("type", getType())
            .append("title", getWebpagetitle())
            .append("keywords", getWebpagekeywords())
            .append("description", getWebpagedescription())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
